package demo.extend;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * 父类
 *
 * @author sun.ye
 * @since 2020-06-29 20:15
 */
@Data
@Slf4j
public class Father {

    private String name;
    private Father father;
    
    public void showName(Father father){
       log.info(father.getName());
    }

}